import { IPSControl } from '../ipscontrol';
import { IPSPanelItem } from './ipspanel-item';

/**
 *
 * 子接口类型识别属性[]
 * 继承父接口类型值[CONTROL]
 * @export
 * @interface IPSPanelControl
 */
export interface IPSPanelControl extends IPSPanelItem {
  /**
   * 部件对象
   *
   * @type {IPSControl}
   */
  getPSControl(): IPSControl | null;

  /**
   * 部件对象
   *
   * @type {IPSControl}
   */
  get psControl(): IPSControl | null;

  /**
   * 部件对象（必须存在）
   *
   * @type {IPSControl}
   */
  getPSControlMust(): IPSControl;

  /**
   * 视图模型属性名称
   * @type {string}
   */
  viewFieldName: string;
}
